//
//  RadioView.h
//  RainbowFM
//
//  Created by Kratos on 14/12/10.
//  Copyright (c) 2014年 RB. All rights reserved.
//  收音机

#import <UIKit/UIKit.h>
#import "Track.h"

@class RadioView;
@protocol RadioViewDelegate <NSObject>
@optional
/**
 * 按钮取消播放
 * @param view
 * @return
 * @author Kratos
 */
-(void)canceledStreamer:(RadioView *)view;

@end

@interface RadioView : UIView
@property (nonatomic , weak) id<RadioViewDelegate> delegate;

-(void)setRadioTrack:(Track *)track;

-(void)play;
-(void)pause;
@end
